<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
</head>
<body>
    <h2>Login</h2>
    <form action="/login2/" method="POST">
        <table>
            <tr>
                <td>用户名：</td>
                <td><input type="text" name='uname'></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" name='pwd'></td>
            </tr>
            <tr>
                <td><input type="submit" value="登录"></td>
            </tr>
        </table>
    </form>
    <span style="color: red;">{{ msg }}</span>
</body>
</html>